<?php
/**
 * Created by PhpStorm.
 * User: zhang
 * Date: 2018/4/30
 * Time: 16:47
 */
return array(
    //'配置项'=>'配置值'
    //支付宝配置参数
    'alipay_config'=>array(
        'gatewayUrl' =>'https://openapi.alipaydev.com/gateway.do',   //这里是你在成功申请支付宝接口后获取到的PID；
        'appId'=>'2018042102588421',
        'rsaPrivateKey'=>'MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDmn4YP9XmbFToB/vghSCsnv0ro52zgpeAfkqTnG7XFhnTdGvPDVuOjXaoDR9kIBOa1U2TfdV728MqoZCqAZSAJ+rw28+StL8y3x+thn5rf2j7jb5oXu9kMlMh5FHGaU8tVwgrEG12krEiquH5D9hn57OGlk3LvvTAZyNOkMQxxIkzBH2hnPtjax8upaAOOj4MZ3QckNlAjOglqQDBWOPiU7EE0KXwxW6h3pHEz8WPBI+nh3X1UpFCClmZaPGLLLTvPletfPWCYpFc3d6YMMiMhmES5z/MO9pLOjp3grBXN+A67hG805Xsk/CPEcbUsJv/usvkCcYRVxA/f14ZwAQHLAgMBAAECggEBAMR/55pxbcvVqjdJJ+Izu5GCTDFl/j7rFqvQJvFDiv1iMvCxpkEqJ4tqoxFohmNuyaR2CdzcBK4jPIl9zzjW8RWPrg6kgJOPxr5QeR4U/8D8E9l1nbXbOHSf0LBZ2vHDs9y+GK4/IurMYJ4V1H/TkQ6B50FNAQGEERfnJW0g3ZkGImaSwKYCjEW3sgx4uRnXVsYOm7z97O+kTGhoNsn0zppvpF5dZni/164Znnm3XZ4aym3Z+gBYA1Z/PI0tqnLuixtWj9AVe6XtOhl0mfHMBU2lM6H+USMTa6Rec4MheSJCUFqXMD2O99XgbizhK4/OYeDwR0NoedKZyR5jJua+YAECgYEA+dd2eZG7miehQYRGwHc5bK4Jtv3GfnqJIjxoSA9Yi67V0TL85ihv6VC0qscO+LaBpwYkO9YE2Z3Io/6g9j6ZOFaiaBy2ZDItOTZ2UaVj+h0CqtQmDwFiZyzyO5OtDNyJtNpEpC/wBotdC9RXy3Ia45lcSoob6AiWMJw4E77od4ECgYEA7E7KDh2HtX4sAWWhdOK9lcXgp64FaZU/OZGnpSZBSOLeQUnI84fwOB6kT6cGsaekkb7zBYSzsVzL6VMNKJ896CPa0LCIGxUmbe1tEZ8c1bf0zof7z6eZF0bmp2Q54XZd1baGA9iCx+f/UDYn4nXbeGTOWuece1DBxS/C7SUdf0sCgYEAnDSxdzq9j5k9gigA0G76cU+y9T1fsE5OlSAtlvg5RUQvnReC9SfNKJP0EV5Zpvj8wP/fAaZC7AhxnM8jtjHXPFk2O1/QTX7ttXquqUd95a/jrgjsLq+P5bA9VzBynrr4QiHBjuIF8SGLME04AxQ5aZnGETieUAmmVYgmq3nOAIECgYEAjBt274GQugox+y4P2aaqM4gcWC70pJJJ508179RLtvRURK+DxuidhBie4V8tt92m1Ic7vdTdWdakTBXi4mfwI5hGn59bQ3t5yomQNnd5eDnWmzHDGm7LdSKjlTH2o3gz0Iek09jmSbKDDULeyQWJ98sFEp7qh67tBIX58/MilxsCgYB3XTnPQdx76E+lBdiRbuvkjx5XJVEB5NoUsOLRpg0lyhNNLNqB5BwjVpYbF29fyLUdaLYsz82Vxbg+SeaQfI9hAFjmgho7kCgrcH8tphK7MXAR77gXMZXMILnhdM3qM6pM3R/RnQrGiHOaQgVL9/mMtcjeB1yBgXQpoeBPf0g4GA==',//这里是你在成功申请支付宝接口后获取到的Key
        'sign_type'=>"RSA2",
        'format'=> 'UTF-8',
        'cacert'=> getcwd().'\\cacert.pem',
        'transport'=> 'http',
    ),
    //以上配置项，是从接口包中alipay.config.php 文件中复制过来，进行配置；

    'alipay'   =>array(
        'app_id' => "2016091500515891",

        //商户私钥，您的原始格式RSA私钥
        'merchant_private_key' => 'MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDmn4YP9XmbFToB/vghSCsnv0ro52zgpeAfkqTnG7XFhnTdGvPDVuOjXaoDR9kIBOa1U2TfdV728MqoZCqA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ttXquqUd95a/jrgjsLq+P5bA9VzBynrr4QiHBjuIF8SGLME04AxQ5aZnGETieUAmmVYgmq3nOAIECgYEAjBt274GQugox+y4P2aaqM4gcWC70pJJJ508179RLtvRURK+DxuidhBie4V8tt92m1Ic7vdTdWdakTBXi4mfwI5hGn59bQ3t5yomQNnd5eDnWmzHDGm7LdSKjlTH2o3gz0Iek09jmSbKDDULeyQWJ98sFEp7qh67tBIX58/MilxsCgYB3XTnPQdx76E+lBdiRbuvkjx5XJVEB5NoUsOLRpg0lyhNNLNqB5BwjVpYbF29fyLUdaLYsz82Vxbg+SeaQfI9hAFjmgho7kCgrcH8tphK7MXAR77gXMZXMILnhdM3qM6pM3R/RnQrGiHOaQgVL9/mMtcjeB1yBgXQpoeBPf0g4GA==',//这里是你在成功申请支付宝接口后获取到的Key

        //编码格式
        'charset' => "UTF-8",

        'notify_url' => "http://www.topsydy.com/app/sydy/alipay/pay/notifyurl",

        //同步跳转
        'return_url' => "http://www.topsydy.com/app/sydy/alipay/pay/returnurl",
        //签名方式
        'sign_type'=>"RSA2",

        //支付宝网关
        'gatewayUrl' => "https://openapi.alipaydev.com/gateway.do",

        //支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
        'alipay_public_key' => 'MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5p+GD/V5mxU6Af74IUgrJ79K6Ods4KXgH5Kk5xu1xYZ03Rrzw1bjo12qA0fZCATmtVNk33Ve9vDKqGQqgGUgCfq8NvPkrS/Mt8frYZ+a39o+42+aF7vZDJTIeRRxmlPLVcIKxBtdpKxIqrh+Q/YZ+ezhpZNy770wGcjTpDEMcSJMwR9oZz7Y2sfLqWgDjo+DGd0HJDZQIzoJakAwVjj4lOxBNCl8MVuod6RxM/FjwSPp4d19VKRQgpZmWjxiyy07z5XrXz1gmKRXN3emDDIjIZhEuc/zDvaSzo6d4KwVzfgOu4RvNOV7JPwjxHG1LCb/7rL5AnGEVcQP39eGcAEBywIDAQAB',
    ),

    'Consume'=>array(
        'discount'=>array(0.15,0.12,0.08),
        'VIP'=>array("0"=>0,"1"=>100,"2"=>200)
    ),


);